package com.hsurosy.infrastructure.dao;

import com.hsurosy.infrastructure.dao.po.GroupBuyDiscount;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author Hsu琛君珩
 * @Date 2025-08-10 20:07
 * @Description 拼团折扣表的DAO接口
 * @Version: v1.0.0
 */
@Mapper
public interface IGroupBuyDiscountDao {

    /** 查询所有拼团折扣记录 */
    List<GroupBuyDiscount> queryGroupBuyDiscountList();

    /** 根据折扣ID查询拼团活动的折扣信息 */
    GroupBuyDiscount queryGroupBuyActivityDiscountByDiscountId(String discountId);

}
